package com.lagou.server;

import com.lagou.mmclass.User;

public class ServerDao {
    /**
     *
     * 编程实现管理员的账号密码的校验
     * @param user
     */

    public boolean serverManagerCheck(User user){
        if("admin".equals(user.getName()) && "12345".equals(user.getPassword())){
            return true;
        }else {
            return false;
        }

    }

}
